package com.open.demo.matrix

import android.content.Context
import com.open.demo.utils.Constats
import com.tencent.matrix.plugin.DefaultPluginListener
import com.tencent.matrix.report.Issue
import com.tencent.matrix.util.MatrixLog

/**
 * https://github.com/Tencent/matrix/wiki/Matrix-Android--data-format
 *
 * @Author: hailong.qiu hailong.qiu@xgimi.com
 * @Maintainer: hailong.qiu hailong.qiu@xgimi.com
 * @Date: 2021/11/10
 * @Copyright: 2021 www.xgimi.com Inc. All rights reserved.
 */
class TestPluginListener(context: Context?) : DefaultPluginListener(context) {

    companion object {
        const val TAG = "Matrix.TestPluginListener"
    }

    override fun onReportIssue(issue: Issue?) {
        super.onReportIssue(issue)
        MatrixLog.e(Constats.TAG, TAG + " " + issue.toString())
    }

}